Skip to main content

Exposure, Gain & Processing Speed

This page explains how exposure, gain, and gamma settings influence image capture quality and inspection performance in the OV20i system. Proper tuning can balance speed, brightness, and model accuracy.


Exposure

Exposure time is how long the image sensor collects light for a frame.

SettingEffect
Short ExposureDarker image, sharper motion capture
Long ExposureBrighter image, risk of motion blur

Exposure time directly affects cycle time.

Exposure.gif


Gain

Gain is a digital amplifier that brightens the image after light has been captured — like ISO on a DSLR.

SettingEffect
Low GainClean image, may be too dark
High GainBrighter image, adds grain/noise

Use gain to boost brightness without increasing exposure.

warning

Too much gain can hurt classifier accuracy due to noise.

Gain.gif


Gamma

Gamma adjusts the brightness curve of the image — enhancing contrast and mid-tones.

SettingEffect
Low Gamma (<1)Boosts shadows, reduces highlights
High Gamma (>1)Boosts highlights, flattens shadows
Gamma = 1Linear curve (no correction)

Use gamma to fine-tune contrast after lighting and exposure are stable.

Gamma.gif


Impact on Processing Speed

SettingAffects Speed?Why?
Exposure✅ YesLonger exposures = delayed capture
Gain❌ NoPost-capture adjustment
Gamma❌ NoImage processing step, minimal effect

Only exposure directly delays image capture and total cycle time.


Timing Examples

ConditionExposureGainTotal Cycle Time
Bright Lighting2 ms5 dB~60 ms
Dim Lighting (Low Gain)6 ms0 dB~90 ms
Dim Lighting (High Gain)2 ms15 dB~60 ms
High Contrast w/ Gamma3 ms5 dB~65 ms

✅ Best Practices

  • Start with low exposure and moderate gain
  • ✅ Use Test Image in the HMI to visualize lighting effects
  • ✅ If parts are blurry, reduce exposure before changing gain
  • ✅ Avoid excessive gain — keep noise low for better AI accuracy
  • ✅ Gamma is best used for visual tuning, not brightness correction